#include "spriteactionaddframe.h"
#include "spriteeditor.h"

const char * SpriteActionAddFrame::NAME = "AddFrame";
const char * SpriteActionAddFrame::getName(){return NAME;}

void SpriteActionAddFrame::execute()
{
	SpriteEditor* edit = (SpriteEditor*)getContext();
	edit->getAnimationViewer()->addFrame();
}